﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000CD1 RID: 3281
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PBHEJHECOFJ : IMessage<PBHEJHECOFJ>, IMessage, IEquatable<PBHEJHECOFJ>, IDeepCloneable<PBHEJHECOFJ>, IBufferMessage
	{
		// Token: 0x17002944 RID: 10564
		// (get) Token: 0x0600928D RID: 37517 RVA: 0x00184EC1 File Offset: 0x001830C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PBHEJHECOFJ> Parser
		{
			get
			{
				return PBHEJHECOFJ._parser;
			}
		}

		// Token: 0x17002945 RID: 10565
		// (get) Token: 0x0600928E RID: 37518 RVA: 0x00184EC8 File Offset: 0x001830C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PBHEJHECOFJReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002946 RID: 10566
		// (get) Token: 0x0600928F RID: 37519 RVA: 0x00184EDA File Offset: 0x001830DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PBHEJHECOFJ.Descriptor;
			}
		}

		// Token: 0x06009290 RID: 37520 RVA: 0x00184EE1 File Offset: 0x001830E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PBHEJHECOFJ()
		{
		}

		// Token: 0x06009291 RID: 37521 RVA: 0x00184EE9 File Offset: 0x001830E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PBHEJHECOFJ(PBHEJHECOFJ other) : this()
		{
			this.status_ = other.status_;
			this.eNGCNLPCMDA_ = other.eNGCNLPCMDA_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009292 RID: 37522 RVA: 0x00184F1A File Offset: 0x0018311A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PBHEJHECOFJ Clone()
		{
			return new PBHEJHECOFJ(this);
		}

		// Token: 0x17002947 RID: 10567
		// (get) Token: 0x06009293 RID: 37523 RVA: 0x00184F22 File Offset: 0x00183122
		// (set) Token: 0x06009294 RID: 37524 RVA: 0x00184F2A File Offset: 0x0018312A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueCollectionStatus Status
		{
			get
			{
				return this.status_;
			}
			set
			{
				this.status_ = value;
			}
		}

		// Token: 0x17002948 RID: 10568
		// (get) Token: 0x06009295 RID: 37525 RVA: 0x00184F33 File Offset: 0x00183133
		// (set) Token: 0x06009296 RID: 37526 RVA: 0x00184F3B File Offset: 0x0018313B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ENGCNLPCMDA
		{
			get
			{
				return this.eNGCNLPCMDA_;
			}
			set
			{
				this.eNGCNLPCMDA_ = value;
			}
		}

		// Token: 0x06009297 RID: 37527 RVA: 0x00184F44 File Offset: 0x00183144
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PBHEJHECOFJ);
		}

		// Token: 0x06009298 RID: 37528 RVA: 0x00184F52 File Offset: 0x00183152
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PBHEJHECOFJ other)
		{
			return other != null && (other == this || (this.Status == other.Status && this.ENGCNLPCMDA == other.ENGCNLPCMDA && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009299 RID: 37529 RVA: 0x00184F90 File Offset: 0x00183190
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Status != RogueCollectionStatus.RogueCollectionNone)
			{
				num ^= this.Status.GetHashCode();
			}
			if (this.ENGCNLPCMDA != 0U)
			{
				num ^= this.ENGCNLPCMDA.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600929A RID: 37530 RVA: 0x00184FEE File Offset: 0x001831EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600929B RID: 37531 RVA: 0x00184FF6 File Offset: 0x001831F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600929C RID: 37532 RVA: 0x00185000 File Offset: 0x00183200
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Status != RogueCollectionStatus.RogueCollectionNone)
			{
				output.WriteRawTag(24);
				output.WriteEnum((int)this.Status);
			}
			if (this.ENGCNLPCMDA != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.ENGCNLPCMDA);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600929D RID: 37533 RVA: 0x0018505C File Offset: 0x0018325C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Status != RogueCollectionStatus.RogueCollectionNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Status);
			}
			if (this.ENGCNLPCMDA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ENGCNLPCMDA);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600929E RID: 37534 RVA: 0x001850B4 File Offset: 0x001832B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PBHEJHECOFJ other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Status != RogueCollectionStatus.RogueCollectionNone)
			{
				this.Status = other.Status;
			}
			if (other.ENGCNLPCMDA != 0U)
			{
				this.ENGCNLPCMDA = other.ENGCNLPCMDA;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600929F RID: 37535 RVA: 0x00185104 File Offset: 0x00183304
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060092A0 RID: 37536 RVA: 0x00185110 File Offset: 0x00183310
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 88U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.ENGCNLPCMDA = input.ReadUInt32();
					}
				}
				else
				{
					this.Status = (RogueCollectionStatus)input.ReadEnum();
				}
			}
		}

		// Token: 0x040037D6 RID: 14294
		private static readonly MessageParser<PBHEJHECOFJ> _parser = new MessageParser<PBHEJHECOFJ>(() => new PBHEJHECOFJ());

		// Token: 0x040037D7 RID: 14295
		private UnknownFieldSet _unknownFields;

		// Token: 0x040037D8 RID: 14296
		public const int StatusFieldNumber = 3;

		// Token: 0x040037D9 RID: 14297
		private RogueCollectionStatus status_;

		// Token: 0x040037DA RID: 14298
		public const int ENGCNLPCMDAFieldNumber = 11;

		// Token: 0x040037DB RID: 14299
		private uint eNGCNLPCMDA_;
	}
}
